import { App as AntApp } from 'antd';

let modal: ReturnType<typeof AntApp.useApp>['modal'];

export const setModal = (m: typeof modal) => {
    modal = m;
}

export { modal }; 